import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import store from './store'
import vant from 'vant'
import 'vant/lib/index.css'
import './assets/rem.js'
import './assets/common.css'
import './assets/iconfonts.css'
import 'vant/lib/index.js'
import Router from 'vue-router'
import waterfall from 'vue-waterfall2'

Vue.use(waterfall)
Vue.use(vant)

Vue.config.productionTip = false
const originalPush = Router.prototype.push
Router.prototype.push = function push(location) {
  return originalPush.call(this, location).catch((err) => err)
}
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
